package com.async.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;


/**
 * 测试传入list入参
 */
@Data
@TableName("student")
public class Student {

    @TableId(value = "id", type = IdType.ASSIGN_ID)
//    @Excel(name = "学生Id",width = 30)
    private String id;

    //    @Excel(name = "学生名",width = 60)
    private String name;

    //    @JsonInclude(JsonInclude.Include.NON_NULL)  //json
//    @Excel(name = "学生年龄",width = 10)
    private Integer age;

//
//    @TableField(updateStrategy = FieldStrategy.IGNORED)
////    @JsonIgnore  //排除某個属性序列化给前端
////    @Excel(name = "学生班级")
//    private String classId;
//
//
////    @JsonInclude(JsonInclude.Include.NON_NULL)  //要是这个属性值为空就不序列化
//    @TableField(exist = false)
//    private Class aClass;

//    @TableLogic
//    private Integer isDeleted;
}
